package com.ruoyi.ade.llm.model;

import java.util.List;

/**
 * rerank返回体
 */
public class RerankResponse {

    private String model;
    private List<RerankDocument> results;

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public List<RerankDocument> getResults() {
        return results;
    }

    public void setResults(List<RerankDocument> results) {
        this.results = results;
    }

    public static class RerankDocument{
        private String document;
        private float relevance_score;
        private int index;

        public String getDocument() {
            return document;
        }

        public void setDocument(String document) {
            this.document = document;
        }

        public float getRelevance_score() {
            return relevance_score;
        }

        public void setRelevance_score(float relevance_score) {
            this.relevance_score = relevance_score;
        }

        public int getIndex() {
            return index;
        }

        public void setIndex(int index) {
            this.index = index;
        }
    }

}
